package com.springcloud.zull.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import utils.ResponseBean;

/**
 * @author wfh
 */
@FeignClient(name = "serviceprovider2", fallbackFactory=  Service1GetFallBack.class)
public interface Service1GetFeignClient {

    @RequestMapping(value = "/get", method = RequestMethod.GET)
    ResponseBean get();

    @RequestMapping(value = "/get2", method = RequestMethod.GET)
    Object get2();

}
